package com.cskaoyan.service;

import com.cskaoyan.bean.baseresultVO.BaseData;
import com.cskaoyan.bean.baseresultVO.BaseParam;
import com.cskaoyan.bean.domain.Storage;
import com.cskaoyan.bean.storageBeans.StorageVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @User: Yr
 * @Date: 2021/11/29
 * @Description:
 */

public interface StorageService {
    StorageVo create(MultipartFile file) throws IOException;

    BaseData list(String name, String key, BaseParam baseParam);

    Storage update(Storage storage);

    int delete(Storage storage);
}
